package com.magina.api.entity.exception;


/**
 * 登录业务异常
 */
public class LoginErrorException extends RuntimeException {

    private String errorMessage;



    public LoginErrorException(String errorMessage){
        this.errorMessage = errorMessage;
    }


    public LoginErrorException(Throwable cause) {
        super(cause);
    }

    public LoginErrorException(String message, Throwable cause) {
        super(message, cause);
    }

    public String getErrorMsg(){
        return  errorMessage;
    }
}
